
<template>
	<div class="nav">
		<Icon :navdata="d"></Icon>		
	</div>	
</template>

<script>

	import Vue from 'vue';
	import vueResource from 'vue-resource';
	import Icon from './icon';

	Vue.use(vueResource);

	export default {
		data() {
			return {
				d: ''
			}
		},
		components: { Icon },
		reday() {
			var self = this;
  		console.log(123);
  		
	  	this.$http.get('/static/json/icon.json', {})
	  		.then(( res ) => {
	  			// success
	  			console.log(res , '----');
	  			console.info(123123);
	  			var data = res.data;
	  			
	  		}, () => {
	  			// error
	  		});
		}
	}
	
</script>

<style lang="scss" scoped>
@import "../../../assets/css/variables.scss";
.nav {
	background: $while;
}
</style>